package com.qf.mapper;

import com.qf.pojo.User;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
 * @author yj
 * @description
 * @date
 */
public interface UserMapper {

    public List<User> selectAll();

    public User selectOne(String tel);

    public int insertUser(User user);

    public int updateUser(User user);

    public int deleteUser(int id);


}
